package com.xqboss.apps.dto.user;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("根据身份段位id修改扳手工厂开关接收体")
public class OpenOrCloseWrenchFactoryDto {

    @ApiModelProperty("身份段位id")
    @NotNull(message = "身份段位id不能为空")
    private Long identityRankId;
    @ApiModelProperty("开关状态  true/false")
    @NotNull(message = "开启状态不能为空")
    private Boolean openOrClose;
}
